<template>
    <div>
        <p style="color:orange;font-size: 14px;">
            <i class="el-icon-s-promotion"></i>
            地产经纪
        </p>
        <!-- 卡片 -->
        <CateList :list='cateList'></CateList>
    </div>

</template>
<script>
import {getGentsList} from '@/api/agent'
import CateList from '@/components/cate_list.vue'
export default {
    components:{CateList},
    data(){
        return {
            cateList:[]
        }
    },
    async created(){
      const res = await getGentsList()
      console.log('经纪列表',res);
      this.cateList = res.data
    }
}
</script>
<style>

</style>